package com.wzu.zlb.ems.dao;

import com.wzu.zlb.ems.pojo.Design;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DesignMapper {
    public Integer addDesign(Design design);
    public Integer modifyDesign(Design design);
    public Integer deleteDesign(Design design);
    public List<Design> findDesignsByProductId(Integer productId);
    public Design findDesignByProductIdAndOrder(Design design);
}
